<template>
  <div class="container">
    <div class="rectangle"></div>
    <h2>{{ text }}</h2>
  </div>
</template>

<script>
export default {
  name: 'Subtitle',
  props: {
    text: {
      type: String
    }
  }
}
</script>

<style lang="less" scoped>
@import '../../styles/color';

.container {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
}

.rectangle {
  width: 10px;
  height: 24px;
  background: @base-color;
  margin: 45px 20px 0 5px;
}

h2 {
  text-align: left;
  margin: 40px 20px 20px 0;
  font-size: 24px;
  color: @title-color;
}
</style>
